package com.tiancheng.trade.payment.channel.cmb.params;

import lombok.Getter;
import lombok.Setter;

/**
 * 招总行计平退款参数
 *
 * @author kellen
 * @date 2024/4/19
 */
@Getter
@Setter
public class CmbRefundOrderParam {

    // app id
    private String appid;
    // 用户id
    private String userId;
    // 退款id
    private String refundId;
    // 退款金额
    private Integer amount;
    // 平台应收金额
    private Integer platformIncome;
    // 结算应收金额
    private Integer bussSettleAmount;
    // 商户订单号
    private String outTradeNo;
    // 时间戳（秒）
    private String ts;
    // 子订单列表
    private String subOutTradeNoList;

    @Getter
    @Setter
    public static class SubOutTradeNo {

        // 退款金额
        private Integer refundAmt;
        // 平台退款金额
        private Integer platformRefundAmt;
        // 结算退款金额
        private Integer bussSettleRefundAmt;
        // 子订单号
        private String subOutTradeNo;
    }
}
